<template>
  <div class="home_wrapper">
    <el-card class="home_main">
      <el-space wrap>
        <img :src="userStore.avatar" />
        <div class="home_title">
          <h2>{{ title }}, {{ userStore.username }}</h2>
        </div>
      </el-space>
    </el-card>
  </div>
</template>

<script setup lang="ts" name="Home">
import { useUserStore } from '@/stores/modules/user'
import { getTime } from '@/utils/time'
import '@/styles/layout/home.less'

let userStore = useUserStore()
const title = getTime()
</script>

<style scoped></style>
